package com.southminority.ethnic.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.southminority.ethnic.column.ExcelColumn;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程讲师表
 * @TableName course_teacher
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="course_teacher")
@Data
public class CourseTeacher extends BasePoJo implements Serializable {
    /**
     * 课程讲师ID
     */
    @Schema(description = "课程讲师ID")
    @TableId(type = IdType.AUTO)
    @ExcelColumn(name = "课程讲师ID", columnWidth = 10, value = "1",hidden = true)
    private Long id;

    /**
     * 讲师名称
     */
    @Schema(description = "讲师名称")
    @ExcelColumn(name = "讲师名称", columnWidth = 10, value = "张三",nonNull = true)
    private String teacherName;

    /**
     * 讲师职位
     */
    @Schema(description = "讲师职位")
    @ExcelColumn(name = "讲师职位", columnWidth = 10, value = "讲师")
    private String teacherPosition;

    /**
     * 讲师头像URL
     */
    @Schema(description = "讲师头像URL")
    @ExcelColumn(name = "讲师头像URL", columnWidth = 40, value = "https://example.com/avatar.jpg")
    private String teacherAvatar;
} 